public class Solution {
    public String toLowerCase1(String s) {
        int len=s.length();

        char[] ch=s.toCharArray();
        for(int i=0;i<s.length();i++){
            if(ch[i]>='A'&&ch[i]<='Z'){
                ch[i]+=32;

            }

        }
        return String.valueOf(ch);
    }

    public static String toLowerCase(String s){
        int len=s.length()-1;
        int i=0;
        String s2="";
        while(i<=len){
            char ch=s.charAt(i);
            if(ch>='A'&&ch<='Z'){
              //  ch=ch+32;
                char t=(char)(ch+32);
                s2+=t;
                i++;
            }
            else{
                s2+=ch;
                i++;
            }


        }
        return s2;
    }



    public static void main(String[] args){
        String s="qenJTFYff";
        System.out.println(s.toLowerCase());
    }
}